import 'package:flutter/material.dart';
import 'package:auto_route/auto_route.dart';

@RoutePage()
class BoxDetailPage extends StatelessWidget {
  final int id;

  const BoxDetailPage({@PathParam('id') required this.id, super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Box $id Details')),
      body: Center(
        child: Text(
          'This is the detail page for Box $id',
          style: const TextStyle(fontSize: 24),
        ),
      ),
    );
  }
}
